Optimal. Leaf size=11 \[ x-\frac{9}{x}+6 \log (x) \]
[Out]
_______________________________________________________________________________________
Rubi [A] time = 0.0142194, antiderivative size = 11, normalized size of antiderivative = 1., number of steps used = 2, number of rules used = 1, integrand size = 12, \(\frac{\text{number of rules}}{\text{integrand size}}\) = 0.083 \[ x-\frac{9}{x}+6 \log (x) \]
Antiderivative was successfully verified.
[In] Int[(9 + 6*x + x^2)/x^2,x]
[Out]
_______________________________________________________________________________________
Rubi in Sympy [A] time = 3.91326, size = 8, normalized size = 0.73 \[ x + 6 \log{\left (x \right )} - \frac{9}{x} \]
Verification of antiderivative is not currently implemented for this CAS.
[In] rubi_integrate((x**2+6*x+9)/x**2,x)
[Out]
_______________________________________________________________________________________
Mathematica [A] time = 0.00181462, size = 11, normalized size = 1. \[ x-\frac{9}{x}+6 \log (x) \]
Antiderivative was successfully verified.
[In] Integrate[(9 + 6*x + x^2)/x^2,x]
[Out]
_______________________________________________________________________________________
Maple [A] time = 0.008, size = 12, normalized size = 1.1 \[ -9\,{x}^{-1}+x+6\,\ln \left ( x \right ) \]
Verification of antiderivative is not currently implemented for this CAS.
[In] int((x^2+6*x+9)/x^2,x)
[Out]
_______________________________________________________________________________________
Maxima [A] time = 0.793471, size = 15, normalized size = 1.36 \[ x - \frac{9}{x} + 6 \, \log \left (x\right ) \]
Verification of antiderivative is not currently implemented for this CAS.
[In] integrate((x^2 + 6*x + 9)/x^2,x, algorithm="maxima")
[Out]
_______________________________________________________________________________________
Fricas [A] time = 0.220625, size = 19, normalized size = 1.73 \[ \frac{x^{2} + 6 \, x \log \left (x\right ) - 9}{x} \]
Verification of antiderivative is not currently implemented for this CAS.
[In] integrate((x^2 + 6*x + 9)/x^2,x, algorithm="fricas")
[Out]
_______________________________________________________________________________________
Sympy [A] time = 0.13518, size = 8, normalized size = 0.73 \[ x + 6 \log{\left (x \right )} - \frac{9}{x} \]
Verification of antiderivative is not currently implemented for this CAS.
[In] integrate((x**2+6*x+9)/x**2,x)
[Out]
_______________________________________________________________________________________
GIAC/XCAS [A] time = 0.204514, size = 16, normalized size = 1.45 \[ x - \frac{9}{x} + 6 \,{\rm ln}\left ({\left | x \right |}\right ) \]
Verification of antiderivative is not currently implemented for this CAS.
[In] integrate((x^2 + 6*x + 9)/x^2,x, algorithm="giac")
[Out]